package com.cmc.cloud.cmclink.doc.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cmes.framework.mybatis.core.dataobject.BaseDO;

import lombok.*;

/**
 * 箱型最大载重维护 DO
 *
 * @author 集运管理员
 */
@TableName("doc_container_max_payload")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ContainerMaxPayloadDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 箱尺寸
     */
    private String cntrSize;
    /**
     * 箱类型
     */
    private String cntrType;
    /**
     * 最大荷载(kg)
     */
    private Integer maxPayload;
    /**
     * 长(CM)
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer length;
    /**
     * 宽(CM)
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer width;
    /**
     * 高(CM)
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer height;

    /**
     * 前超
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer overForward;
    /**
     * 后超
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer overAfter;
    /**
     * 左超
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer overLeft;
    /**
     * 右超
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer overRight;
    /**
     * 上超
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer overHeight;

}
